# ref links: https://trac.ffmpeg.org/wiki/Capture/Desktop
# yes | ffmpeg -hide_banner -loglevel panic -nostats -video_size 1920x1080 -framerate 25 -f x11grab -i :0.0 -f alsa -ac 2 -i hw:0 -r 25 output.mp4

# ffmpeg -f video4linux2 -r 30 -s 320x240   -i /dev/video0  camera.mkv

#ffmpeg -y -hide_banner -loglevel error -video_size 1920x1080 -framerate 30 -f x11grab -i :0.0 -f alsa -ac 2 -i hw:0 -c:v libx264rgb -crf 0 -preset ultrafast -color_range 2 output.mkv


# boot second
ffmpeg -y -video_size 1920x1080 -framerate 30 -f x11grab -i :0.0  output.mkv

